﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpMidifyCode.aspx.cs" Inherits="UI.ModEmployee.EmpMidifyCode" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改工号</title>
    <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css"  />
       <script type="text/javascript" src="../JS/jsFunction.js"></script>
    </head>
<body>
    <form id="form1" runat="server">
     <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            <b>修改工号</b></div>     
    </div>
    <div>
    </div>
    <div style="margin-left: 80px">
    
        &nbsp; 
            
        <br />
    <table width="100%" border="0" class="td">
  <tr>
    <td width="20%">旧工号：&nbsp;</td>
    <td width="80%"> <asp:TextBox ID="txtOldCode" runat="server" Width="90px" 
            CssClass="InputCss" ontextchanged="txtOldCode_TextChanged" 
            AutoPostBack="True"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvOld" runat="server" 
            ControlToValidate="txtOldCode" ErrorMessage="必填" ForeColor="Red"></asp:RequiredFieldValidator>
        <br /><asp:Label 
            ID="lbContent" runat="server" Text=""></asp:Label>
        <br />
      </td>
  </tr>
  <tr>
    <td  > 新工号：&nbsp;</td>
    <td >  <asp:TextBox ID="txtNewCode" runat="server" Width="90px" 
            CssClass="InputCss"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvNew" runat="server" 
            ControlToValidate="txtNewCode" ErrorMessage="必填" ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
              <a href="javascript:ShowLink('EmpCreateCodeList.aspx',880,610)"> 查看未使用工号</a>

            </td>
  </tr>
  <tr>
    <td> 类别：&nbsp;</td>
    <td>  
        <asp:RadioButton ID="rbEmp" runat="server" Text="员工" Checked="True" 
            GroupName="a" />
        <asp:RadioButton ID="rbsal" runat="server" Text="促销员" GroupName="a" />
    
        </td>
  </tr>
  <tr>
    <td> &nbsp;</td>
    <td>  
        <asp:Button ID="btnModi" runat="server" Text="修改" onclick="btnModi_Click" CssClass="ButtonCss"
            style="height: 21px"   OnClientClick="return confirm('确定要修改工号吗?\n');"  />
      </td>
  </tr>
</table>

    
    </div>
         <div id="Div1" class="pagetop">
        <div class="pagetopleft">
            <b>转移部门</b></div>     
    </div>
      <div style="margin-left: 80px">
    
        &nbsp;             
        <br />

        <table width="100%" border="0" class="td">
  <tr>
    <td>&nbsp;<asp:DropDownList ID="ddlOldDeptID" runat="server" CssClass="InputCss">
            </asp:DropDownList>下的所有员工转移到<asp:DropDownList ID="ddlNewDeptID" runat="server" CssClass="InputCss">
            </asp:DropDownList>
            
            
             部门
            
            
             &nbsp;<asp:Button ID="btnMove" runat="server" Text="确定转移" onclick="btnMove_Click" CssClass="ButtonCss" 
            style="height: 21px"   OnClientClick="return confirm('确定要整个部门转移员工吗?\n');" />
            </td>

    

    </tr>
    </table>
        </div>
    </form>
</body>
</html>
